# -*- coding: utf-8 -*-
# @Time    : 2021/12/21 8:51
# @Author  : TangDagui
# @Email   : 3297364807@qq.com
# @File    : PythonTask.py
# @Software: PyCharm

import matplotlib.pyplot as plt
import numpy as np

# 进价商品
commodity = 49

# 售价
sellingPrice = 75
# 人数
sum = np.arange(1, 31, 1)

# 顾客总消费
TotalConsumption = []

# 单价  售价*数量
unitPrice = sellingPrice * sum[0]

# 商家收益  (单价-售价)*数量
income = (unitPrice - commodity) * sum[0]

# 顾客省钱 (售价-单价)*数量
saveMoney = (sellingPrice - unitPrice) * sum[0]

# 顾客优惠

